home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000180_JDanSkinner@JDanSkinner.com_Sun Oct 23 14:21:13 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed-00.mathworks.com!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail
  2. From: JDanSkinner@JDanSkinner.com
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Is there a tutorial on...tcpip file transfer
  5. Date: 20 Oct 2005 06:41:40 -0700
  6. Organization: http://groups.google.com
  7. Lines: 61
  8. Message-ID: <1129815700.858193.85740@g49g2000cwa.googlegroups.com>
  9. References: <435784e3.14049421@giganews.nildram.co.uk>
  10. NNTP-Posting-Host: 24.159.192.106
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset="iso-8859-1"
  13. X-Trace: posting.google.com 1129815706 13303 127.0.0.1 (20 Oct 2005 13:41:46 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Thu, 20 Oct 2005 13:41:46 +0000 (UTC)
  16. In-Reply-To: <435784e3.14049421@giganews.nildram.co.uk>
  17. User-Agent: G2/0.2
  18. X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3,gzip(gfe),gzip(gfe)
  19. Complaints-To: groups-abuse@google.com
  20. Injection-Info: g49g2000cwa.googlegroups.com; posting-host=24.159.192.106;
  21.    posting-account=5JPUcQwAAAB6TGKSwwkRxsWxWFx0QQ_3
  22. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15423
  23.  
  24.  
  25. Rob S wrote:
  26. > Hi,
  27. >
  28. > At the moment we use kermit (95) to transfer files serially and across modem
  29. > links. The host is setup like this:
  30. > set port COM1
  31. > set speed 57600
  32. > set block 3
  33. > set window 5
  34. > set receive packet-length 2000
  35. > set transfer interruption on
  36. > set file collision overwrite
  37. > set flow xon
  38. > Server
  39. > The remote is setup the same apart from instead of Server, it GETs a file and
  40. > SENDs a file.
  41. >
  42. > I now want to transfer exactly the same files, only across
  43. > ethernet/windows/tcpip networks. What's the simplest way?
  44. >
  45. > thanks
  46. >
  47. > -Rob
  48. > robatwork at mail dot com
  49.  
  50. Rob;
  51. I cut the following from a script we use.
  52.  
  53. The script connects to a central *n?x server by modem, telnet, or SSH
  54. dependent on the remote client wishes using K95.
  55. Except for this section the method of connection does not matter.
  56. Hope you find it useful.
  57.  
  58. if equal "\$(CONTYPE)" "SSH" {
  59.   set host /net:ssh suse81 /user:\$(USER) /password:\$(PASSWD)
  60. } else {
  61.   if equal "\$(CONTYPE)" "TELNET" {
  62.     set host \$(USRENTRY)
  63.    } else {
  64.     set modem \$(CONTYPE)
  65.     set port tapi
  66.     if fail end 1 TAPI line Intel already in use.
  67.     set tapi phone-number-conversions off
  68.     set tapi modem-dialing on,
  69.     ;set tapi line intel
  70.     if not equal "\v(modem)" "tapi" set modem type tapi
  71.     set dial timeout 60
  72.     dial \$(USRENTRY)
  73.   }
  74.   if open connection {
  75.     echo CONNECTED TO \$(USRENTRY) by \$(CONTYPE)
  76.   } else {
  77.     echo NO CONNECTION TO \$(USRENTRY) by \$(CONTYPE)
  78.     getok /gui CONNECTION ERROR ...
  79.     close
  80.     quit
  81.   }
  82.  
  83. Regards...Dan.
  84.